package Test;

public class Test04 {
    public static void main(String[] args) {
        // 第四题
        int a1 = 10, a2 = 11;

        System.out.println("10是偶数?"+(a1 % 2 ==0?true:false));
        System.out.println("11是偶数?"+(a2 % 2 ==0?true:false));

        int a3 =12,a4 = 13;
        System.out.println("12是奇数?"+(a3 % 2 ==1?true:false));
        System.out.println("13是奇数?"+(a4 % 2 ==1?true:false));
    }
}
